<%@page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="cong.jdbc.JdbcConn" %>
<%@page import="com.dy.nygl.pojo.EnergyYear" %>
<%@page import="com.dy.nygl.pojo.Energy" %>
<%

List<EnergyYear> yearlist=new JdbcConn().getYearList();
String cat1=yearlist.get(0).getName();
String cat2=yearlist.get(1).getName();
String cat3=yearlist.get(2).getName();
String cat4=yearlist.get(3).getName();
String cat5=yearlist.get(4).getName();
String cat6=yearlist.get(5).getName();

double jan1=Double.parseDouble(yearlist.get(0).getJan());
double jan2=Double.parseDouble(yearlist.get(1).getJan());
double jan3=Double.parseDouble(yearlist.get(2).getJan());
double jan4=Double.parseDouble(yearlist.get(3).getJan());
double jan5=Double.parseDouble(yearlist.get(4).getJan());
double jan6=Double.parseDouble(yearlist.get(5).getJan());

double feb1=Double.parseDouble(yearlist.get(0).getFeb());
double feb2=Double.parseDouble(yearlist.get(1).getFeb());
double feb3=Double.parseDouble(yearlist.get(2).getFeb());
double feb4=Double.parseDouble(yearlist.get(3).getFeb());
double feb5=Double.parseDouble(yearlist.get(4).getFeb());
double feb6=Double.parseDouble(yearlist.get(5).getFeb());

double mar1=Double.parseDouble(yearlist.get(0).getMar());
double mar2=Double.parseDouble(yearlist.get(1).getMar());
double mar3=Double.parseDouble(yearlist.get(2).getMar());
double mar4=Double.parseDouble(yearlist.get(3).getMar());
double mar5=Double.parseDouble(yearlist.get(4).getMar());
double mar6=Double.parseDouble(yearlist.get(5).getMar());

double apr1=Double.parseDouble(yearlist.get(0).getApr());
double apr2=Double.parseDouble(yearlist.get(1).getApr());
double apr3=Double.parseDouble(yearlist.get(2).getApr());
double apr4=Double.parseDouble(yearlist.get(3).getApr());
double apr5=Double.parseDouble(yearlist.get(4).getApr());
double apr6=Double.parseDouble(yearlist.get(5).getApr());

double may1=Double.parseDouble(yearlist.get(0).getMay());
double may2=Double.parseDouble(yearlist.get(1).getMay());
double may3=Double.parseDouble(yearlist.get(2).getMay());
double may4=Double.parseDouble(yearlist.get(3).getMay());
double may5=Double.parseDouble(yearlist.get(4).getMay());
double may6=Double.parseDouble(yearlist.get(5).getMay());

double jun1=Double.parseDouble(yearlist.get(0).getJun());
double jun2=Double.parseDouble(yearlist.get(1).getJun());
double jun3=Double.parseDouble(yearlist.get(2).getJun());
double jun4=Double.parseDouble(yearlist.get(3).getJun());
double jun5=Double.parseDouble(yearlist.get(4).getJun());
double jun6=Double.parseDouble(yearlist.get(5).getJun());

double july1=Double.parseDouble(yearlist.get(0).getJuly());
double july2=Double.parseDouble(yearlist.get(1).getJuly());
double july3=Double.parseDouble(yearlist.get(2).getJuly());
double july4=Double.parseDouble(yearlist.get(3).getJuly());
double july5=Double.parseDouble(yearlist.get(4).getJuly());
double july6=Double.parseDouble(yearlist.get(5).getJuly());

double aug1=Double.parseDouble(yearlist.get(0).getAug());
double aug2=Double.parseDouble(yearlist.get(1).getAug());
double aug3=Double.parseDouble(yearlist.get(2).getAug());
double aug4=Double.parseDouble(yearlist.get(3).getAug());
double aug5=Double.parseDouble(yearlist.get(4).getAug());
double aug6=Double.parseDouble(yearlist.get(5).getAug());

double sep1=Double.parseDouble(yearlist.get(0).getSep());
double sep2=Double.parseDouble(yearlist.get(1).getSep());
double sep3=Double.parseDouble(yearlist.get(2).getSep());
double sep4=Double.parseDouble(yearlist.get(3).getSep());
double sep5=Double.parseDouble(yearlist.get(4).getSep());
double sep6=Double.parseDouble(yearlist.get(5).getSep());

double oct1=Double.parseDouble(yearlist.get(0).getOct());
double oct2=Double.parseDouble(yearlist.get(1).getOct());
double oct3=Double.parseDouble(yearlist.get(2).getOct());
double oct4=Double.parseDouble(yearlist.get(3).getOct());
double oct5=Double.parseDouble(yearlist.get(4).getOct());
double oct6=Double.parseDouble(yearlist.get(5).getOct());

double nov1=Double.parseDouble(yearlist.get(0).getNov());
double nov2=Double.parseDouble(yearlist.get(1).getNov());
double nov3=Double.parseDouble(yearlist.get(2).getNov());
double nov4=Double.parseDouble(yearlist.get(3).getNov());
double nov5=Double.parseDouble(yearlist.get(4).getNov());
double nov6=Double.parseDouble(yearlist.get(5).getNov());

double dec1=Double.parseDouble(yearlist.get(0).getDec1());
double dec2=Double.parseDouble(yearlist.get(1).getDec1());
double dec3=Double.parseDouble(yearlist.get(2).getDec1());
double dec4=Double.parseDouble(yearlist.get(3).getDec1());
double dec5=Double.parseDouble(yearlist.get(4).getDec1());
double dec6=Double.parseDouble(yearlist.get(5).getDec1());

%>
